package com.xhtt.modules.inspection.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhtt.modules.cfg.entity.CfgPumpInfo;
import com.xhtt.modules.inspection.entity.InsLine;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * inspection-巡检
 * 巡检线路 Mapper 接口
 * </p>
 *
 * @author xj
 * @since 2019-01-18
 */
public interface InsLineMapper extends BaseMapper<InsLine> {

    // 获取所有id和线路名称(包括逻辑删除)
    InsLine queryById(@Param("lineId") Integer lineId);

    List<InsLine> queryPage(Page<InsLine> page, @Param(value = "params") Map<String, Object> params);
}
